﻿@model IEnumerable<HMoPro.Models.RescourcerList>

@{
    ViewBag.Title = "CheckIndex";
}

<div class="row" style="height:30px;">
</div>
@foreach (var item in Model) {
    <div class="showTm" style="padding:15px; margin:0 35px 20px 35px;position:relative;overflow:hidden;zoom;">
    <div class="row">
        <div class="col-xs-5 col-sm-3">
            <a href="@Url.Action("checkVr", new {rescourceid=item.rescourceid})"> <img src="../../Uploads/@item.rescourceid/@item.ImageshotFileName" class="img-responsive"/></a>
            <div class="dd">
                <p class="pull-left">
                    <span class="width-bf db">@Html.DisplayFor(modelItem => item.PlayTime)</span>
                    <span class="width-bf dz">@Html.DisplayFor(modelItem => item.PraiseTime)</span>
                </p>
                @{Html.RenderAction("browseListIndex", new { resourceid = item.rescourceid });}
            </div>
        </div>
        <div class="col-xs-7 col-sm-9">
            <h4 style="margin-top:0;padding-left:5px;">@Html.DisplayFor(modelItem => item.Title)</h4>
            <div class="row">
                <div class="col-xs-12 col-sm-4">
                    <p>上传用户：@Html.DisplayFor(modelItem => item.username)</p>
                </div>
                <div class="col-xs-12 col-sm-8 text-right">
                    <p>上传时间：@Html.DisplayFor(modelItem => item.DateTimeStamp) &emsp; 最后修改时间：@Html.DisplayFor(modelItem => item.LatestModfyDate)</p>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <p>@Html.DisplayFor(modelItem => item.Descrb)</p>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <p>路径：@Html.DisplayFor(modelItem => item.PackageFileName)</p>
                </div>
            </div>
            <div class="row">
                <div class="col-xs-12">
                    <p>
                        @Html.ActionLink("查看并审核", "checkVr", new { rescourceid = item.rescourceid }, new { @class = "button button-raised button-pill button-inverse button-small" }) &emsp;
                        @Html.ActionLink("不通过", "VrPass", new { rescourceid = item.rescourceid, passid = 2 }, new { @class = "button button-raised button-pill button-inverse button-small" }) 
                    </p>
                </div>
            </div>
        </div>
    </div>
    </div>
}

<script>
    $("#carousel-hm").css("display", "none");
    $("#f1 a").html("<font> " + $("#f1 a").text() + " </font>")
    $("#f1 a").addClass("selected");
</script>